package com.segersten.othello.service.akka.lobby;

public class StateResponse
{

    private LobbyResponseStatus status;
    private LobbyState lobbyState;

    public StateResponse(LobbyResponseStatus status)
    {
        this.status = status;
    }

    public StateResponse(LobbyState lobbyState)
    {
        this(LobbyResponseStatus.OK);
        this.lobbyState = lobbyState;
    }

    public LobbyResponseStatus getStatus()
    {
        return status;
    }

    public LobbyState getLobbyState()
    {
        return lobbyState;
    }

    @Override
    public String toString()
    {
        return "StateResponse [status=" + status + ", lobbyState=" + lobbyState + "]";
    }
    
    

}
